#include<stdio.h>
#include<unistd.h>
#include<string.h>
#include<errno.h>
#include<stdlib.h>
int main(){
	//C
	printf("hello printf\n");
	fprintf(stdout,"hello fprintf\n");
	const char* strfputs = "hello fputs\n";
	fputs(strfputs,stdout);
	//system
	const char* strwrite = "hello write\n";
	write(1,strwrite,strlen(strfputs));
	pid_t id = fork();
	if(id< 0){
		perror("fork error");
		exit(errno);
	}
	return 0;
}
